package com.cmas.platform.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.cmas.platform.domain.Comment;
import com.cmas.platform.dto.CommentDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author su
 * @Date 2023/5/11 1:16
 */
@Mapper
public interface CommentFullMapper extends BaseMapper<CommentDto> {

    public List<CommentDto> selectCommentDtoList(@Param("current") int current,
                                           @Param("size") int size,
                                           @Param(Constants.WRAPPER) QueryWrapper<Comment> setQueryWrapper);

}
